﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traceability.Domain.TraceabilityDto;

namespace Traceability.Domain.Service.EnterpriseServices
{
    public interface IEnterpriseService
    {
        /// <summary>
        /// 添加养殖信息
        /// </summary>
        /// <param name="enterprise"></param>
        /// <returns></returns>
        public Task<int> AddEnterpriseBreed(int shoppingId, Enterprise enterprise);

        /// <summary>
        /// 添加屠宰信息
        /// </summary>
        /// <param name="enterprise"></param>
        /// <returns></returns>
        public Task<int> AddEnterpriseSlaughter(int shoppingId, Enterprise enterprise);

        /// <summary>
        /// 添加深加工信息
        /// </summary>
        /// <param name="enterprise"></param>
        /// <returns></returns>
        public Task<int> AddEnterpriseDeepProcessing(int shoppingId, Enterprise enterprise);

        /// <summary>
        /// 企业信息列表
        /// </summary>
        /// <returns></returns>
        public Task<List<EnterpriseDto>> GetEnterpriseList();
    }
}
